﻿namespace Common.Core.DTO
{
    /// <summary>
    /// 接受参数分页基类
    /// </summary>
    /// <remarks>
    /// 继承此基类的参数类必须以Args为结尾，
    /// </remarks>
    public class PageArgs : BaseArgs
    {
        int curpage = 1;
        int pagesize = 15;
        /// <summary>
        /// 当前页
        /// </summary>
        public int CurrPage { get { return curpage; } set { curpage = value; } }
        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get { return pagesize; } set { pagesize = value; } }
    }
}
